package managers.messengerManager;

import java.net.InetAddress;

import utils.ManagingMessage;

public interface SingleProtocol {

	public void send(ManagingMessage managingMessage, InetAddress ip, int port) throws Exception;

	public void writeInfo();

	public ManagingMessage receive() throws Exception;

	public void closeSockets();

	public void initialize() throws Exception;
	
	public InetAddress getAddress();
	
	public int getPort();
}